/**
 * 
 */
package gmu.drr.entity.structure;

import org.apache.commons.collections15.*;

import edu.uci.ics.jung.io.graphml.*;

/**
 * @author RothmD01
 *
 */
public class Edge {
	public String idName;
	public double weight;

	public static TransformerEdgeFromMLMeta getTransformerEdgeFromMLMeta() {
		return new TransformerEdgeFromMLMeta();
	}
	public static Transformer<Edge, String> getTransformerEdgeToString() {
		return new EdgeIDs();
	}
}

class TransformerEdgeFromMLMeta implements Transformer<EdgeMetadata, Edge > {

	@Override
	public Edge transform(
			EdgeMetadata arg0) {
		Edge e;
		e = new Edge();
		// TODO fill in data from the edge metadata
		return e;
	}		
}

class EdgeIDs implements Transformer<Edge, String> {
	public String transform( Edge e ) {
		String s;
		s = new String( e.idName );
		return s;
	}
}